function drawPolarLine(img,angle,distance)

    [X,Y] = pol2cart(angle,distance);
    sz = size(img);
    
    angle = angle-pi/2;
    m = tan(angle);

    x = X:1:size(img,2);
    y = 0:1:numel(x)-1;
    plot(x,Y+y*m);
end